package com.atguigu.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * ClassName:EduApplication
 * Package:com.atguigu.eduservice
 * Description:
 *
 * @Date:2021/1/5 13:20
 * @Author:hm
 */

@SpringBootApplication
@EnableDiscoveryClient//启用Nacos注册中心
@EnableFeignClients//启用Feign
@ComponentScan(basePackages = {"com.atguigu"})
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }

}
